package model

import "github.com/jinzhu/gorm"

type User struct {
	//ID       uint   `gorm:"primary_key"`
	Username string `gorm:"column:username"`
	Password string `gorm:"column:password"`
	Email    string `gorm:"column:email"`
	Channel  int64  `gorm:"column:channel"`
	NickName string `gorm:"column:nickname"`
	gorm.Model
	////创建时间、更新时间、删除时间
	//CreatedAt *time.Time  `gorm:"column:created_at"`
	//UpdatedAt *time.Time  `gorm:"column:updated_at"`
	//DeletedAt *time.Time `sql:"index"`
}
